home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / u_man / cat3 / Tk / getoption.z / getoption
Text File  |  1998-10-30  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4. TTTTkkkk____GGGGeeeettttOOOOppppttttiiiioooonnnn((((3333TTTTkkkk))))                                            TTTTkkkk____GGGGeeeettttOOOOppppttttiiiioooonnnn((((3333TTTTkkkk))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      Tk_GetOption - retrieve an option from the option database
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ####iiiinnnncccclllluuuuddddeeee <<<<ttttkkkk....hhhh>>>>
  13.  
  14.      Tk_Uid
  15.      TTTTkkkk____GGGGeeeettttOOOOppppttttiiiioooonnnn(_t_k_w_i_n, _n_a_m_e, _c_l_a_s_s)
  16.  
  17. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  18.      Tk_Window   _t_k_w_i_n    (in)      Token for window.
  19.  
  20.      char        *_n_a_m_e    (in)      Name of desired option.
  21.  
  22.      char        *_c_l_a_s_s   (in)      Class of desired option.  Null means there
  23.                                     is no class for this option;  do lookup
  24.                                     based on name only.
  25.  
  26.  
  27. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  28.      This procedure is invoked to retrieve an option from the database
  29.      associated with _t_k_w_i_n's main window.  If there is an option for _t_k_w_i_n
  30.      that matches the given _n_a_m_e or _c_l_a_s_s, then it is returned in the form of
  31.      a Tk_Uid.  If multiple options match _n_a_m_e and _c_l_a_s_s, then the highest-
  32.      priority one is returned.  If no option matches, then NULL is returned.
  33.  
  34.      TTTTkkkk____GGGGeeeettttOOOOppppttttiiiioooonnnn caches options related to _t_k_w_i_n so that successive calls for
  35.      the same _t_k_w_i_n will execute much more quickly than successive calls for
  36.      different windows.
  37.  
  38.  
  39. KKKKEEEEYYYYWWWWOOOORRRRDDDDSSSS
  40.      class, name, option, retrieve
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.